package com.dsp.bean;

import javax.persistence.Column;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.AccessType;

import com.core.util.BaseBean;

@Entity
@Table(name = "insure_results")
public class InsureResult extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1824928453790766800L;
	@Id
	@AccessType(value = "property")
	@Column(name = "id")
	private Long id;

	@AccessType(value = "property")
	@Column(name = "insure_yearmonth")
	private String yearMonth;

	@AccessType(value = "property")
	@Column(name = "emp_id")
	private Long empId;

	@AccessType(value = "property")
	@Column(name = "emp_name")
	private String empName;

	@AccessType(value = "property")
	@Column(name = "company")
	private Long company;

	@AccessType(value = "property")
	@Column(name = "hukou")
	private Long hukou;

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the yearMonth
	 */
	public String getYearMonth() {
		return yearMonth;
	}

	/**
	 * @return the empId
	 */
	public Long getEmpId() {
		return empId;
	}

	/**
	 * @return the empName
	 */
	public String getEmpName() {
		return empName;
	}

	/**
	 * @return the company
	 */
	public Long getCompany() {
		return company;
	}

	/**
	 * @return the hukou
	 */
	public Long getHukou() {
		return hukou;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param yearMonth
	 *            the yearMonth to set
	 */
	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	/**
	 * @param empId
	 *            the empId to set
	 */
	public void setEmpId(Long empId) {
		this.empId = empId;
	}

	/**
	 * @param empName
	 *            the empName to set
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}

	/**
	 * @param company
	 *            the company to set
	 */
	public void setCompany(Long company) {
		this.company = company;
	}

	/**
	 * @param hukou
	 *            the hukou to set
	 */
	public void setHukou(Long hukou) {
		this.hukou = hukou;
	}

}
